package lab3p3;

/**
 * <p>Title: JavaWS01 for Lab #3 Part 3</p>
 * <p>Description: CSIS 343 Lab on Jar files</p>
 * 
 * @author tony
 * @date  08.04.2013
 * @email anthony.varghese@uwrf.edu
 * @version 1
 *
 */

import java.util.Date;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class JavaWS01 extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public JavaWS01(){
		setLayout(null);
		setBounds( 100, 100, 400, 300 );
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		JLabel names = new JLabel("Anthony Varghese");
		JLabel date  = new JLabel( (new Date()).toString() );
		names.setBounds( 100, 100, 150, 50 );
		date .setBounds( 100, 150, 300, 50 );
		add(names);
		add(date);
		setVisible( true );
	}
	/**
	 * main
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		new JavaWS01();
	}

}
